package com.sunwayworld.basemodule.business.ordertask.dao.impl;

import com.sunwayworld.framework.mybatis.mapper.MapperParameter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.sunwayworld.basemodule.business.ordertask.bean.LimsOrderTaskBean;
import com.sunwayworld.basemodule.business.ordertask.dao.LimsOrderTaskDao;
import com.sunwayworld.basemodule.business.ordertask.mapper.LimsOrderTaskMapper;
import com.sunwayworld.framework.mybatis.dao.MybatisDaoSupport;
import com.sunwayworld.framework.spring.annotation.GikamBean;

import java.util.List;
import java.util.Map;

@Repository
@GikamBean
public class LimsOrderTaskDaoImpl extends MybatisDaoSupport<LimsOrderTaskBean, Long> implements LimsOrderTaskDao {

    @Autowired
    private LimsOrderTaskMapper limsOrderTaskMapper;

    @Override
    public LimsOrderTaskMapper getMapper() {
        return limsOrderTaskMapper;
    }

    @Override
    public List<Map<String, Object>> selectTest(MapperParameter temp) {
        return getMapper().selectTest(temp);
    }

    @Override
    public List<Map<String, Object>> testSelectableList(MapperParameter temp) {
        return getMapper().testSelectableList(temp);
    }

    @Override
    public List<Map<String, Object>> selectPreFolderByOrderTask(MapperParameter parameter) {
        return getMapper().selectPreFolderByOrderTask(parameter);
    }

    @Override
    public List<Map<String, Object>> selectDerivativeTask(MapperParameter parameter) {
        return getMapper().selectDerivativeTask(parameter);
    }
}
